#pragma once
#include <QtCore/qglobal.h>
#ifndef BUILD_STATIC
# if defined(ALGHALCON_LIB)
#  define ALGHALCON_EXPORT Q_DECL_EXPORT
# else
#  define ALGHALCON_EXPORT Q_DECL_IMPORT
# endif
#else
# define ALGHALCON_EXPORT
#endif
#include <QImage>
ALGHALCON_EXPORT bool run(QImage souIamge, QImage& resultImage);

ALGHALCON_EXPORT int check_capsule(QImage& SouImage, QImage* ResImage,int into_min_capsule , int* out_capsuleNum, int* out_warnNum);
